﻿using System.Linq;
using System.Web.Mvc;
using e_TicaretSistemi.Models;

namespace e_TicaretSistemi.Controllers
{
    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            return View(new HomeVm
            {
                ProductList = Db.Products.ToList()
            });
        }
    }
}